package com.yy.web.pm.operateExamine.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.yy.web.pm.operateExamine.domain.FileData;
import com.yy.web.pm.operateExamine.mapper.FileDataMapper;
import com.yy.web.pm.operateExamine.service.FileDataService;
@Service
public class FileDataServiceImpl implements FileDataService{

    @Resource
    private FileDataMapper fileDataMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return fileDataMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(FileData record) {
        return fileDataMapper.insert(record);
    }

    @Override
    public int insertSelective(FileData record) {
        return fileDataMapper.insertSelective(record);
    }

    @Override
    public FileData selectByPrimaryKey(Integer id) {
        return fileDataMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FileData record) {
        return fileDataMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FileData record) {
        return fileDataMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<FileData> list) {
        return fileDataMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<FileData> list) {
        return fileDataMapper.batchInsert(list);
    }

}
